from django.urls import path
from . import views

app_name = 'xzfauth'

urlpatterns = [
    path('login/', views.login_view, name='login'),  # 登录
    path('logout/', views.logout_view, name='logout'),  # 注销
    path('img_captcha/', views.img_captcha, name='img_captcha'),  # 图形验证码
    path('sms_captcha/', views.sms_captcha, name='sms_captcha'),  # 短信验证码
    path('register/', views.register_view, name='register'),  # 注册
    # path('cache/', views.cache_test, name='cache'),  # 测试缓存链接状态
]
